1. Intro to networking

Last minute revison

  1. A computer network is collection of logically connected computing devices to communicate and share resources
  2. there is a node and a host nodes are the computers or devices and hosts are the devices with specials functions also called as servers
  3. A computer network consists of nodes(devices),cables, routers, switches, Network interface cards NIC
  4. NIC connects the device to a network (cable) and switches connet multiple devices to a network ,Nic has its own Mac address
  5. OSI model is a set of rules that explains how different computer systems communicate over a network ** Physical, DataLink, Network, Transport, Session, Presentation, Application**
  6. Client is a device which makes request, server is a device which Responds request
  7. Network cables connect devices, a switch forwards network traffic, a router connects and filter networks and packets, and a modem provides internet access.
  8. A router can filter traffic and switch can only switch traffic
  9. peering connects 2 vpc like man
  10. connectionless protocol means no direct connect between client server ,server sends msg anyone can process example UDP

OSI Model

The OSI model (Open Systems Interconnection Model) is a conceptual framework used to understand and standardize how data is transferred over a network.

Pasted image 20241206144121.png


Layer Name Function
7 Application Layer Provides network services to applications, such as web browsing (HTTP), email (SMTP), and file transfers (FTP).
6 Presentation Layer Translates, encrypts, and compresses data for the application layer. Ensures proper data format (e.g., JPEG, MP3, SSL).
5 Session Layer Manages sessions between applications, establishing, maintaining, and terminating connections (e.g., RPC, NetBIOS).
4 Transport Layer Ensures reliable or unreliable delivery of data using protocols like TCP (reliable) and UDP (unreliable). Handles segmentation, flow control, and error correction.
3 Network Layer Handles logical addressing (IP addresses) and routing of packets between networks using routers. Protocols include IPv4, IPv6, ICMP.
2 Data Link Layer Manages MAC addresses and error detection, ensuring reliable data transfer over physical media. Switches and NICs operate at this layer. Uses Ethernet, ARP, PPP.
1 Physical Layer Deals with the actual transmission of raw bits over network media (cables, radio waves). Includes hardware like hubs, network cables, and modems.

1. Physical Layer (Layer 1)

3. Network Layer (Layer 3)

4. Transport Layer (Layer 4)

5. Session Layer (Layer 5)

6. Presentation Layer (Layer 6)

7. Application Layer (Layer 7)

Network devices

What can a router do that a switch cannot?
A router can filter traffic, while a switch can only switch traffic.

What does a network interface card (NIC) use that is known as a unique physical identifier given by the manufacturer?
A media access control (MAC) address.


Notebooklm summary

The document begins by defining basic networking terms and explaining the internet's purpose and function for users. It explores the history of networking through the development of its components.

History of the Internet:

Computer Networking: A computer network is a collection of computing devices that are logically connected to communicate and share resources.

A node is any device on a network, like a computer, router or printer.
A host is a node with a unique function, such as a server, that provides access to data or services.

Key Components of a Computer Network:

Data and the OSI Model:

Key Takeaways:

Comparison of Switches and Routers:

Feature Switch Router
Layer Operates at Layer 2 (Data Link) Operates at Layers 2 & 3 (Data Link & Network)
Functionality Transmits data using MAC addresses Filters and routes data using IP addresses
Data Handling Deals with frames Deals with both frames and packets

This document provides a basic understanding of networking concepts, the history of the internet, and the various hardware and software components involved in networking.